package whr.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import whr.common.utils.PageUtils;
import whr.common.utils.PageUtils01;
import whr.modules.sys.entity.SysOrganizations;

import java.util.List;
import java.util.Map;

/**
* @author LENOVO
* @description 针对表【sys_organizations】的数据库操作Service
* @createDate 2024-09-23 16:23:40
*/
public interface SysOrganizationsService extends IService<SysOrganizations> {

    // 分页查询
    PageUtils queryPage(Map<String, Object> params);
    // 根据id查询
    SysOrganizations getById(Integer id);

    boolean saveBySysOrganizations(SysOrganizations sysOrganizations);

    boolean getByName(String name);

    void deleteByIds(List<Integer> ids);

    void deleteBatch(Integer[] ids);

    List<SysOrganizations> selectByLikeName(String name);


}
